package com.fufan.mtsaas.modules.newtech.xjstechhis.dao;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.baomidou.mybatisplus.plugins.Page;
import com.fufan.mtsaas.modules.newtech.xjstech.bo.response.XjsTechResponse;
import com.fufan.mtsaas.modules.newtech.xjstechhis.bo.request.XjsTechHisQueryRequest;
import com.fufan.mtsaas.modules.newtech.xjstechhis.bo.response.XjsTechHisResponse;
import com.fufan.mtsaas.modules.newtech.xjstechhis.model.XjsTechHis;
import org.springframework.stereotype.Repository;

import java.io.Serializable;
import java.util.List;

/**
 * 新技术历史维护表 Mapper 接口
 *
 * @author Liby
 * @since 2024-12-16
 */
@Repository
public interface XjsTechHisDao extends BaseMapper<XjsTechHis> {


    @Override
    Integer deleteById(Serializable id);

    /**
     * 分页查询
     * @param page
     * @param entity
     * @return
     */
    List<XjsTechHisResponse> selectByPage(Page<XjsTechHisResponse> page, XjsTechHisQueryRequest entity);
}